package com.chixing.service;

import com.chixing.entity.Car;
import com.chixing.entity.CarES;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Repository
public interface CarESService extends ElasticsearchRepository<CarES,Integer> {
 //   List<CarES> findByCarName(String carName);
List<CarES>  findByCarName(String carName);


}